﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:converter="clr-namespace:NicoView.View.Converter"
                    
                    >
    <converter:UserImagePathConverter x:Key="UserImagePathConverter"/>

    <Style x:Key="CommentUserImage" TargetType="{x:Type Image}" >
        <Style.Triggers>
            <DataTrigger Binding="{Binding ViewUserIcon, Source={StaticResource settings}}" Value="true" >
                <Setter Property="Visibility" Value="Visible"/>
            </DataTrigger>

            <DataTrigger Binding="{Binding ViewUserIcon, Source={StaticResource settings}}" Value="false" >
                <Setter Property="Visibility" Value="Collapsed"/>
            </DataTrigger>
        </Style.Triggers>
    </Style>

    
</ResourceDictionary>